MC_Home

Function block MC_Home
Commands the axis to perform the "search home" sequence. The sequence is dependent on the manufacturer and can be set by the parameters of an axis. The homing parameters (mcHome, mcHoming) can be found in the MC_AxisParameter type, which can be set using MC_WriteParameter and MC_WriteBoolParameter. The Position input is used to set the absolute position when an index signal is detected. This function block completes at Standstill if it was started from Standstill.
VAR_IN_OUT
B AxisIn AXIS_REF Reference to an axis.
VAR_INPUT
B Execute BOOL Starts the motioin at rising edge.
B Position LREAL Absolute position when the reference signal is detected. [unit]
V Velocity LREAL The start velocity of the homing move.
V EndVelocity LREAL The end velocity of the homing move. The usage depends on the homing mode.
V Acceleration LREAL A value for the acceleration.
V Deceleration LREAL A value for the deceleration.
V Jerk LREAL A value for the jerk.
V Direction MC_Direction The direction the axis moves to home. Use the type 0, 2, or 3 in MC_Direction.
V HomingMode MC_HomingMode Selects a homing mode.
E BufferMode MC_BufferMode Defines how to blend the velocity of two function blocks.
VAR_OUTPUT
B Done BOOL The function block is finished.
E Busy BOOL The function block is not finished and new output values are to be expected.
E Active BOOL The function block is controlling the axis.
E CommandAborted BOOL The command is aborted by another command.
B Error BOOL Signals that an error has occurred within the function block.
E ErrorID MC_Error Error identification.
Defines a position for the axis before starting any movement when using an incremental encoder.

 

  MC_Home  
AXIS_REF   AxisIn   Axis   AXIS_REF
BOOL   Execute   Done   BOOL
LREAL   Position   Busy   BOOL
LREAL   Velocity   Active   BOOL
LREAL   EndVelocity   CommandAborted   BOOL
LREAL   Acceleration   Error   BOOL
LREAL   Deceleration   ErrorID   MC_Error
LREAL   Jerk        
MC_Direction   Direction        
MC_HomingMode   HomingMode        
MC_BufferMode   BufferMode